﻿namespace WH.Contracts.Systems.Roles
{
    /// <summary>
    /// 角色
    /// </summary>
    public class RoleOutputDto
    {
        /// <summary>
        /// 主键fid
        /// </summary>
        public string? Id { get; set; }

        /// <summary>
        /// 编号
        /// </summary>
        public string? Code { get; set; }

        /// <summary>
        /// 名称
        /// </summary>
        public string? Name { get; set; }

        /// <summary>
        /// 描述
        /// </summary>
        public string? Description { get; set; }

        /// <summary>
        /// 角色类型
        /// </summary>
        public string? TypeCode { get; set; }

        /// <summary>
        /// 角色类型
        /// </summary>
        public string? TypeCodeString { get; set; }

        /// <summary>
        /// 机构ID
        /// </summary>
        public string? OrganizationId { get; set; }

        /// <summary>
        /// 机构名称
        /// </summary>
        public string? OrganizationName { get; set; }

        /// <summary>
        /// 状态（0停用 1正常）
        /// </summary>
        public bool IsEnable { get; set; }

        /// <summary>
        /// 描述/备注说明
        /// </summary>
        public string? Remark { get; set; }

        /// <summary>
        /// 排序码 数字越小越靠前
        /// </summary>
        public int SortCode { get; set; }

    }
}
